package com.gilight.base.uiapp.zzjg;

import com.gilight.base.dao.SysZzjgMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class ZzjgServiceImp implements ZzjgService {

    @Autowired
    private SysZzjgMapper sysZzjgMapper;
    @Override
    public Object getZzjgByWEIDU(Float lat
            , Float lng
            , String sheng
            , String shi
            , String quxian
            , String jiedao
            , Long brandId) {
//        sysZzjgMapper.getZzjgList()
        Map<String,Object> param = new HashMap<>();
        param.put("zlat",lat);
        param.put("zlng",lng);
        param.put("sheng",sheng);
        param.put("shi",shi);
        param.put("quxian",quxian);
        param.put("jiedao",jiedao);
        param.put("brandId",brandId);
        return sysZzjgMapper.findMapList(param);
    }
}
